<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<title>我的群组</title>
		<base href="{$_G['siteurl']}" />
		<link href="static/jquery_weui/css/weui.min.css" rel="stylesheet">
		<link href="static/jquery_weui/css/jquery-weui.min.css" rel="stylesheet">
		<link href="static/dzzicon/icon.css" rel="stylesheet">
		<link href="{MOD_PATH}/css/mobile/index.css" rel="stylesheet">
		<link href="{MOD_PATH}/css/mobile/package.css" rel="stylesheet">
		<script type="text/javascript">var DZZSCRIPT='{DZZSCRIPT}',LANG='{$_G[language]}', STATICURL = 'static/', IMGDIR = '{$_G[setting][imgdir]}', VERHASH = '{VERHASH}', charset = '{CHARSET}', dzz_uid = '$_G[uid]', cookiepre = '{$_G[config][cookie][cookiepre]}', cookiedomain = '{$_G[config][cookie][cookiedomain]}', cookiepath = '{$_G[config][cookie][cookiepath]}',attackevasive = '{$_G[config][security][attackevasive]}', disallowfloat = '{$_G[setting][disallowfloat]}',  REPORTURL = '$_G[currenturl_encode]', SITEURL = '$_G[siteurl]', JSPATH = '$_G[setting][jspath]',MOD_PATH='{MOD_PATH}',APP_URL='{MOD_URL}',MOD_URL='{MOD_URL}';</script>
	</head>
	<body>
	<section class="weui-address">
		<a href="{MOD_URL}" class="weui-index">
			<span class="dzz dzz-home dzz-index"></span>
			<i class="dzz dzz-vline dzz-index-vline"></i>
		</a>
		<div class="weui-address-container" id="weui_address_scroll">
			<div class="scroller">
				<ul class="weui-address-field">
					<li>
						<a href="{$_G[siteurl]}{MOD_URL}&op=mobile&do=group">群组</a><span class="dzz dzz-chevron-right"></span>
					</li>
				</ul>
			</div>
		</div>
	</section>
		<!--列表开始-->
		<section class="weui-cells weui-cells__recent weui-cells__margin_footer">
			<!--{if count($groups) > 0}-->
			<!--{loop $groups $v}-->
            <a class="weui-cell weui-cell_access" href="{MOD_URL}&op=mobile&do=file&gid={$v[orgid]}&fid={$v[fid]}">
                <div class="weui-cell__hd">
					<!--{if $v['imgs']}-->
					<img src="$v[img]" class="weui-cell__recentimg">
					<!--{else}-->
					<!--{eval echo avatar_group($v['orgid'],array($v['orgid']=>array('aid'=>$v['aid'],'orgname'=>$v['orgname'])));}-->
					<!--{/if}-->
				</div>
                <div class="weui-cell__bd">
                    <h4>$v[orgname]</h4>
                    <p>
                    	<span class="file">文件:</span><i class="file-number">$v[filenum],</i>
                    	<span class="folder">文件夹:</span><i class="folder-number">$v[foldernum]</i>
                    </p>
                </div>
                <div class="weui-cell__ft"></div>
            </a>
			<!--{/loop}-->
			<!--{else}-->
			<!--{template mobile/template_normal}-->
			<!--{/if}-->
		</section>
<!--无内容提示页-->
		<!--底部开始-->
		<footer class="weui-cell-footer">
				<a href="javascript:;" class="weui-footer-item searchFiles">
					<i class="dzz dzz-search"></i>
					<p>搜索</p>
				</a>
				<a href="javascript:;" class="weui-footer-item" onclick="location.reload();">
					<i class="dzz dzz-refresh"></i>
					<p>刷新</p>
				</a>
		</footer>
		<!--底部结束-->
	</body>
	<script type="text/javascript" src="static/jquery/jquery.min.js"></script>
	<script type="text/javascript" src="static/jquery_weui/js/jquery-weui.min.js"></script>
	<script type="text/javascript" src="{MOD_PATH}/js/mobile/appevent.js"></script>
	<script type="text/javascript">
        $(document).off('tap.search').on('tap.search','.searchFiles',function(){
            window.location.href = '{MOD_URL}&op=mobile&do=search';
        })
        //获取id高度
        $(function(){
            var h = $(document).outerHeight(true);
            var h2 = $('.weui-cell-footer').outerHeight(true);
            $('.weui-cell-search-images').css('height',h-h2);
            var len=$('.weui-cells__margin_footer').find('.weui-cell-search-images').length;
            if(len>0){
                $('.weui-cells__margin_footer').css('margin-bottom','0px');
            }else{
                $('.weui-cells__margin_footer').css('margin-bottom','70px');
            }
        })
	</script>
	<!--{eval output();}-->
</html>